package abstractdemo1;

public class Test {
    public static void main(String[] args) {
        Animal animal = new Hema();
        animal.drink();
        animal.eat();
        Animal animal2 = new Fox();
        animal2.drink();
        animal2.eat();
    }
}
